package com.example.constant;


import com.example.entity.UserVO;

import java.util.ArrayList;
import java.util.List;

public class Constant {
    public static  final String SUCCESS = "SUCCESS";
    public static  final String FAILURE = "FAILURE";
    public static  final List<UserVO> USER_INFO_LIST = new ArrayList<>();
    static {
        UserVO user1 = new UserVO();
        user1.setId(1);
        user1.setName("刘备");
        user1.setAge(63);
        user1.setBirthYear("161年");
        user1.setCamp("蜀");
        USER_INFO_LIST.add(user1);
        UserVO user2 = new UserVO();
        user2.setId(2);
        user2.setName("关羽");
        user2.setAge(58);
        user2.setBirthYear("161年");
        user2.setCamp("蜀");
        USER_INFO_LIST.add(user2);
        UserVO user3 = new UserVO();
        user3.setId(3);
        user3.setName("张飞");
        user3.setAge(63);
        user3.setBirthYear("165年");
        user3.setCamp("蜀");
        USER_INFO_LIST.add(user3);

        UserVO user4 = new UserVO();
        user4.setId(4);
        user4.setName("曹操");
        user4.setAge(66);
        user4.setBirthYear("155年");
        user4.setCamp("魏");
        USER_INFO_LIST.add(user4);
        UserVO user5 = new UserVO();
        user5.setId(5);
        user5.setName("张辽");
        user5.setAge(54);
        user5.setBirthYear("182年");
        user5.setCamp("魏");
        USER_INFO_LIST.add(user5);

        UserVO user6 = new UserVO();
        user6.setId(6);
        user6.setName("孙权");
        user6.setAge(71);
        user6.setBirthYear("182年");
        user6.setCamp("吴");
        USER_INFO_LIST.add(user6);
        UserVO user7 = new UserVO();
        user7.setId(7);
        user7.setName("周瑜");
        user7.setAge(36);
        user7.setBirthYear("175年");
        user7.setCamp("吴");
        USER_INFO_LIST.add(user7);
    }
}
